<?php

$cms_site_module = $GO_MODULES->get_module('cms');

require_once($cms_site_module['class_path'].'cms.class.inc');
require_once($cms_site_module['class_path'].'cms_site.class.inc');

require_once($GO_LANGUAGE->get_language_file('cms'));

if(!$cms_site = new cms_site())
{
  die('No site or invalid site requested');
}

header('Content-Type: text/html; charset='.$charset);
echo $cms_site->generate_page();
